home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 90 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1011 b 

  1. Path: zippy.cais.net!news
  2. From: mgeiger@drsystems.com (Mark Geiger)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: strange problem with strcpy()
  5. Date: Mon, 01 Jan 1996 20:19:58 GMT
  6. Organization: Capital Area Internet Service info@cais.com 703-448-4470
  7. Message-ID: <4c9ita$chg@zippy.cais.net>
  8. References: <DKFsII.FyJ@iglou.com> <30e62ceb.8255139@ixnews1.ix.netcom.com> <DKGz2u.8rs@iglou.com>
  9. Reply-To: mgeiger@drsystems.com
  10. NNTP-Posting-Host: 205.252.35.151
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. quare@iglou2.iglou.com (quare) wrote:
  14.  
  15. [snip]
  16.  
  17. >I am dynamically realloc()'ing more space as the need arises (i start out 
  18. >with space for 50 files).  If more than 50 files are read in, I realloc() 
  19. >for sizeof(struct find_t) * (50 + current_file_count).  The realloc call 
  20. >never fails (at least not while I'm debugging it).  I will post the code 
  21. >if anyone thinks they might know the problem (it's less than 100 lines).
  22.  
  23. >-- 
  24. >!quare 
  25.  
  26. I think the only way that we can help you is to see the code.  Go
  27. ahead and post it.
  28.  
  29.